﻿#ifndef SqlOper_H
#define SqlOper_H
#include "CDatabaseOperMgr.h"

class SQLOPER_EXPORT SqlOper :public ISqlOper
{
public:
    SqlOper();
	~SqlOper();
	bool initSql(CDataBaseConfig *pStDbCfg);
	void startWork(int nTime);
	void stopWork();
	bool exec(CDatabaseExecData &data, const int &nLock = enNONBLOCK);
private:
	CDatabaseOperMgr *m_pDatabaseOperMgr;
};
#endif